/**
 * @author Scott Koon
 */
if (!twitterratio) {
    var twitterratio = {
        init: function(){
            twitterratio.ui.init();
        },
        data: "",
        ui: "",
        user: function(username, password){
            this.followers = [];
            this.friends = [];
            this.username = username || "none";
            this.id = -1;
			this.password = password || "none";
            
        },
		error : function(errorText, statusCode) {
			this.message = errorText || "An error Occured!";
			this.statusCode = statusCode || "0";
		},
		currentUser :"",
		onError : function(errorObject) {
			$("#errorInfo").text(errorObject.message + " status:" + errorObject.statusCode);
		}
    }
};
$(document).ready( twitterratio.init);
